<template>
    <div>
        <el-menu :default-active="this.$route.path" class="el-menu-demo"  mode="vertical" :router="true" >
            <el-menu-item index="/Myinfomation">基本信息</el-menu-item>
            <el-menu-item index="/ChangeCode">修改密码</el-menu-item>
            <el-menu-item index="/Application">申请账号</el-menu-item>
            <el-menu-item index="/TNotification">消息通知</el-menu-item>
            <el-menu-item index="/ProblemBack">问题反馈</el-menu-item>
        </el-menu>
    </div>
</template>

<script>
    export default {
        data () {
            return {
                activeIndex: 'this.$route.path'
            }
        },
        methods: {
            handleSelect(key, keyPath) {
                console.log(key, keyPath)
            }
        }
    }
</script>
<style>
  .el-menu{
      border-right: none
  }
 .el-menu-item:focus, .el-menu-item:hover{
    color: #409EFF;
 }
</style>

